import React from 'react';
import { Icon } from './base';

/**
 * &#xe6cc; 钱币
 *
 * @export
 * @class IconCoin
 * @extends {Icon}
 */
export default class IconCoin extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#F46200',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M512 1024C229.052632 1024 0 794.947368 0 512S229.052632 0 512 0s512 229.052632 512 512-229.052632 512-512 512z m0-943.157895C274.863158 80.842105 80.842105 274.863158 80.842105 512s194.021053 431.157895 431.157895 431.157895 431.157895-194.021053 431.157895-431.157895S749.136842 80.842105 512 80.842105z"
                    fill={color}
                />
                <path
                    d="M700.631579 700.631579H323.368421V323.368421h377.263158v377.263158z m-296.421053-80.842105h215.578948v-215.578948h-215.578948v215.578948z"
                    fill={color}
                />
            </svg>
        );
    }
}
